﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OPCPlatformCore.Exceptions
{
    public class TagDefineException : Exception
    {
        public TagDefineException() : base("Tag定义错误,FriendlyName不能为空")
        { }
        public TagDefineException(string tagName) : base(string.Format("Tag {0}定义错误,Address不能为空!", tagName))
        { }
    }
}
